#!/bin/bash
SAVEPATH="EXP1"
# 检查并创建文件夹
mkdir -p "output/$SAVEPATH"

# nohup python3 train.py --save_path "$SAVEPATH" > "output/$SAVEPATH"/train.log 2>&1 &
CUDA_VISIBLE_DEVICES=0,1,2,3 python3 train.py --save_path "$SAVEPATH"
echo "Process ID: $!" | tee -a "$SAVEPATH"/train.log